package com.ge.modules.api.service.impl;

import com.ge.modules.api.service.TbCommissionExtractinfoService;
import com.ge.modules.dao.TbCommissionExtractinfoDao;
import com.ge.modules.entity.TbCommissionExtractinfoEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;




@Service
public class TbCommissionExtractinfoServiceImpl implements TbCommissionExtractinfoService {
	@Autowired
	private TbCommissionExtractinfoDao tbCommissionExtractinfoDao;
	
	@Override
	public TbCommissionExtractinfoEntity queryObject(Integer id){
		return tbCommissionExtractinfoDao.queryObject(id);
	}
	
	@Override
	public List<TbCommissionExtractinfoEntity> queryList(Map<String, Object> map){
		return tbCommissionExtractinfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return tbCommissionExtractinfoDao.queryTotal(map);
	}
	
	@Override
	public void save(TbCommissionExtractinfoEntity commissionExtractinfo){
		tbCommissionExtractinfoDao.save(commissionExtractinfo);
	}
	
	@Override
	public void update(TbCommissionExtractinfoEntity commissionExtractinfo){
		tbCommissionExtractinfoDao.update(commissionExtractinfo);
	}
	
	@Override
	public void delete(Integer id){
		tbCommissionExtractinfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		tbCommissionExtractinfoDao.deleteBatch(ids);
	}

	@Override
	public int queryMoneyTotal(TbCommissionExtractinfoEntity commissionExtractinfoEntity) {
		return tbCommissionExtractinfoDao.queryMoneyTotal(commissionExtractinfoEntity);
	}

}
